package com.ice.framework.utils

import com.google.gson.Gson
import com.google.gson.reflect.TypeToken

object GsonUtil {

    fun<T> string2List(string: String):T{
        val type=object: TypeToken<T>(){}.type
        return Gson().fromJson(string,type)
    }
}
